package com.xian.im.common.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: xian-code
 * @description:
 * @author: liru.xian
 * @create: 2021-01-19 10:20
 **/
@Data
@Builder
@ApiModel(
        value = "用户信息"
)
public class UserDto implements Serializable {

    @ApiModelProperty("id")
    private Long id;
    /**
     * 头像
     */
    @ApiModelProperty("头像")
    private String avatarUrl;
    /**
     * 昵称
     */
    @ApiModelProperty("昵称")
    private String nickname;
    /**
     * 个性签名
     */
    @ApiModelProperty("个性签名")
    private String signature;
    /**
     * 通讯账号
     */
    @ApiModelProperty("通讯账号")
    private String account;
    /**
     * 租户
     */
    @ApiModelProperty("租户")
    private Long orgId;

    private AccountDto accountDto;

}
